<?
/**
* Copyright (c) 2002-2007 BioWare Corp.
* http://www.bigdaddymonitor.org
*
* This file is part of the BigDaddy Monitoring
* program. It is free software distributed under
* the terms of the BSD License. It is ditributed
* in the hopes that it will be useful, but
* WITHOUT ANY WARRANTY; without event the implied
* warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE.
*
* The BSD License is available from:
* http://www.opensource.org/licenses/bsd-license.php
**/
?>
<div class="wiki_menu" align="left">


    <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
    <td align="left" width="66%">
   

        <a href="<?=$_SERVER["PHP_SELF"];?>">All Wikis</a>
        
        <?

    
        if (!$displayParams["bShowNoWikiSpecific"])
        {
            ?>
        
            <img src="<?=THEME_DIR;?>/images/trans.gif">
            <a href="<?=$_SERVER["PHP_SELF"]."?action=view&wiki=".$displayParams["aWikiProperties"]["sWikiID"]."&page=".$displayParams["aWikiProperties"]["sWikiMainPage"];?>">
                <?=$displayParams["aWikiProperties"]["sWikiMainPage"];?>
            </a>
            <img src="<?=THEME_DIR;?>/images/box.gif">
            <a href="<?=$_SERVER["PHP_SELF"]."?action=viewrecent&wiki=".$displayParams["aWikiProperties"]["sWikiID"];?>">
                Recent Changes
            </a>
            <img src="<?=THEME_DIR;?>/images/box.gif">
            <a href="<?=$_SERVER["PHP_SELF"]."?action=viewindex&wiki=".$displayParams["aWikiProperties"]["sWikiID"];?>">
                Index
            </a>

            <img src="<?=THEME_DIR;?>/images/box.gif">

            <a href="<?=$_SERVER["PHP_SELF"]."?action=viewcat&wiki=".$displayParams["aWikiProperties"]["sWikiID"];?>">
                Categories
            </a>


            <img src="<?=THEME_DIR;?>/images/box.gif">

            <a href="<?=$_SERVER["PHP_SELF"]."?action=viewsearch&wiki=".$displayParams["aWikiProperties"]["sWikiID"];?>">
                Search
            </a>



            </td>
            
            <td width="*" align="right">

                <?
                if ($displayParams["aAdminFunctions"]["sLocation"])
                {
                    ?>
                    <span onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, wikiAdmin, 'auto')" onMouseout="delayhidemenu()">
                        <img src="<?=THEME_DIR;?>/images/openmenu.gif" class="wiki_menu_icon">
                        WikiAdmin
                    </span>
                    <img src="<?=THEME_DIR;?>/images/box.gif">
                    <?
                }
                
                ?>

                <span onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, myWiki, 'auto')" onMouseout="delayhidemenu()">
                    <img src="<?=THEME_DIR;?>/images/openmenu.gif" class="wiki_menu_icon">
                    myWiki
                </span>
                <img src="<?=THEME_DIR;?>/images/box.gif">
                <span onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, pPages, 'auto')" onMouseout="delayhidemenu()">
                    <img  src="<?=THEME_DIR;?>/images/openmenu.gif" class="wiki_menu_icon">
                    Previous
                </span>

            <?
        }
        else
        {
        ?>
            </td>
            
            <td width="*" align="right">
                <span onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, pPages, '200px')" onMouseout="delayhidemenu()">
                    <img  src="<?=THEME_DIR;?>/images/openmenu.gif" class="wiki_menu_icon">
                    Previous
                </span>
            <?
        }
        ?>


    </td>
    </tr></table>                
    
</div>
    
